|
This topic describes how to configure
the DHCP server feature on your Voyager 205. See DHCP
Mode for an explanation of the DHCP protocol.
To set up DHCP server, you first define the ranges of IP addresses that you
want to be distributed to your PCs, called DHCP server address pools.
Before you begin, be sure to configure your PCs to accept DHCP information
assigned by a DHCP server. |
Guidelines for Creating DHCP Server
Address Pools
An IP address pool typically includes a range private addresses that
you define. LAN administrators often define private IP addresses for use
only on their networks. See See NAT (Network Address
Translation) Overview for an explanation of private IP addresses.
You can also use DHCP server pools to distribute multiple public IP
addresses, if, for example, these are to be shared among a larger set of LAN
computers.
You can create up to two DHCP server address pools. You can define a single
pool with addresses that can be assigned to your LAN PCs (connected via the
Ethernet port) and to a USB-connected computer, as long you have assigned to the
USB and Ethernet interfaces static IP addresses that place them in the same
subnet.
For example, assume you assigned the following addresses to the Ethernet and
USB interfaces:
Ethernet interface (eth-0): IP address
192.168.1.1,
mask 255.255.255.0
USB interface (usb-0): IP address 192.168.1.2,
mask 255.255.255.0
Then you could create a single pool for assignment to all your PCs:
Pool 0: 192.168.1.3 through 192.168.1.255, mask 255.255.255.0
You can create a second pool -- which must be in a different subnet than the
first -- if either of these circumstances apply:
- You assigned static IP addresses to the device's Ethernet and USB
interfaces that place them in different subnets (note that this is not
required).
- Your LAN configuration includes two subnets.
The DHCP server distributes addresses to computers connected to a given
device interface only when that interface is in the same subnet as the pool
addresses. For example, assume that the Ethernet and USB interfaces are assigned
IP addresses that place them in two different subnets, as shown:
eth-0: IP address 192.168.1.1, mask 255.255.255.0
usb-0: IP address 192.168.2.1, mask 255.255.255.0
With this configuration, you could create the following two pools:
Pool 0: 192.168.1.2 through 192.168.1.255, mask 255.255.255.0
Pool 1: 192.168.2.2 through 192.168.2.2, mask 255.255.255.0
The DHCP server would automatically distribute the Pool 0 addresses only to
computers connected to the interface in the same subnet as these addresses-the
LAN interface, eth-0. Likewise, the address in Pool 1 would be distributed to
the USB-connected computer.
Adding DHCP Server Address Pools
Follow these instructions to create an IP address pool:
- If the DHCP Server Configuration page is not already displaying, click
the LAN tab, and then click DHCP Server in the task bar.
Depending on your preconfigured settings, the table may display up to two
address pools, each in a row, or may be empty.
- Click Add.
The DHCP Server Pool - Add page displays.
- Enter values for the Start IP Address, End IP Address, and Net Mask
fields, which are required, and any others as needed:
- Start/End IP Addresses: Specify
the lowest and highest addresses in the pool, up to a maximum range of 254
addresses.
- Mac Address: A MAC
address is a manufacturer-assigned hardware ID that is unique for each
device on a network. Use this field only if you want to assign a specific
IP address to a specific computer (that is, you are creating an exception to
the dynamic assignment of addresses). The IP address you specify will be
assigned to the computer that corresponds to this MAC address. If you type a MAC address here, you must have
specified the same IP address in both the Start IP Address and End IP
Address fields.
- Netmask:
Specifies which portion of each IP addresses in this range refers to the network
and which portion refers to the host (computer). You can use the net mask to distinguish which pool of
addresses should be distributed to a particular subset of computers on your
LAN (call a subnet).
- Domain Name: A user-friendly name that refers to the subnet that
includes the addresses in this pool.
- Gateway Address: The address of the default gateway for computers
that receive IP addresses from this pool. If no value is specified,
then the appropriate LAN (eth-0) or USB (usb-0) port address on the
device will be distributed to each PC as its gateway address, depending
on how each is connected. See IP Routes
for an explanation of gateway addresses.
- DNS/SDNS: The IP address of the Domain Name System server to be used by computers that receive IP addresses from this pool. The DNS
translates common Internet names that you type into your web browser into their
equivalent numeric IP addresses. Typically, this server is located with your
ISP.
- SMTP...SWINS (optional): The IP addresses of devices that perform
various services for computers that receive IP addresses from this pool
(such as the SMTP, or Simple Mail Transfer Protocol, server which
handles e-mail traffic). Contact your ISP for these addresses.
- When you are done defining the pool, click Apply.
A confirmation page displays briefly to indicate that the pool has been
added successfully. After a few seconds, the DHCP Server Pool - Add page
displays with the newly added pool.
- Click DHCP Mode in the task bar, then follow the instructions in
DHCP Mode to enable
the DHCP server.
Viewing, Modifying, and Deleting Address Pools
To
view, modify, or delete an existing address pool, display the DHCP Server
Configuration page, then click the icons in the corresponding row in
the address pool table.
- To delete an IP
address pool, click
,
then submit and commit your changes.
- To view details on an IP address pool, click
.
A page displays with all the same information that you entered when you
added the
pool.
- To modify an IP address pool click
to display the DHCP Server Pool - Modify page. You can change the domain
name associated with an IP address pool, enable/disable the pool, or specify
IP addresses to exclude from distribution (see next section). By default, a pool is enabled when you create it.
When you are done making modifications, and then click Apply.
Use the Save feature to save your changes to permanent memory (see Save).
Excluding IP Addresses from a Pool
If you have IP addresses that are designated for fixed use with specific
devices, or for some other reason you do not want to make them available to your
network, you can exclude them from the pool.
On the DHCP Server Configuration Page, click
in the row corresponding to the pool you want to modify. On the DHCP Server
Pool - Modify page, type each address to be excluded in the Excluded IP
Field and click Add. When you are done specifying excluded addresses,
click Apply, and then use the commit feature to save your changes
to permanent memory (see Save).
Viewing the Address Table
When your Voyager 205 functions as a DHCP server for your LAN, it keeps
a record of any addresses it has leased to your computers. To view a table
of all current IP address assignments, display the DHCP Server Configuration
page, and then click Address Table.
The DHCP Server Address Table lists any IP addresses that are currently
leased to your computers. For each leased address, the table lists the following
information:
- IP Address: The address that has been leased from
the pool.
- Netmask: The network mask associated with the leased address. This identifies the network ID and host ID portions of the address.
-
Mac Address: The hardware ID for the device to which the number has been assigned.
-
Pool Start: The lower boundary of the address pool (provided to identify the pool
from which the leased number came).
- Address Type: Static or Dynamic. Static
indicates that the IP number has been assigned permanently to the specific
hardware device. Dynamic indicates that the number has been leased temporarily
for a specified length of time.
- Time Remaining: The amount of time left for the
device to use the assigned address. The default lease time is 30 days (315360000
seconds).
|